/*
重置移动端基础样式
*/

// ************ css 基础配置 ***************
@charset "UTF-8";
* {
    box-sizing:border-box;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
}

body {
    color:#000;
    font-family:"Helvetica";
    font-weight: 400;
    font-size: 14px;
	line-height: 1;
    -webkit-font-smoothing: antialiased; // 抗锯齿
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    color:#000;
    text-decoration: none;
}
a:focus,
a:hover,
a:active {
    color: #333;
}

img {
    max-width: 100%;
}

// *********** 取消默认样式 ************
body {
    // constant：小于IOS11.2版本生效
    // env：大于IOS11.2版本生效
    // 还需要配合 <meta name="viewport" content="viewport-fit=cover>
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);

    // 解决 iOS 下修改字号导致页面文本溢出问题
    -webkit-text-size-adjust: 100% !important;

    // 取消可点击的元素，默认灰色背景
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

// 去除 iPhone input 默认蓝框
input[type="submit"],
input[type="reset"],
input[type="button"],
input:focus,
button:focus,
select:focus,
textarea:focus {
    outline: none;
}
input {
    -webkit-appearance: none;
    resize: none;
    border-radius: 0;
}
